<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0" />
        <meta name="format-detection" content="telephone=no" />
        <meta content="yes" name="mobile-web-app-capable">
        <meta content="yes" name="apple-mobile-web-app-capable" />
        <meta http-equiv="Cache-Control" content="no-siteapp" />
        <title>{php echo empty($theme['jubf'])?'':$theme['jubf'];}{php echo empty($transaction_id)?'-':'_';}{php echo !empty($theme['USERCOMPANYNAME'])?$theme['USERCOMPANYNAME']:$_G['companyname'];}</title>
        <script type="text/javascript">
            var deviceWidth = document.documentElement.clientWidth;
            if(deviceWidth > 414)
                 deviceWidth = 540; 
            document.documentElement.style.fontSize = deviceWidth / 7.5 + 'px';
        </script>
        <link rel="stylesheet" type="text/css" href="{$_G['URL']['WORKER_CSS']}css/reset.css">
        <link rel="stylesheet" type="text/css" href="{$_G['URL']['WORKER_CSS']}css/index.css?v=5">
        <link rel="stylesheet" type="text/css" href="{$_G['URL']['WORKER_CSS']}css/ui.css">
        <script type="text/javascript" src="{$_G['URL']['WORKER_CSS']}js/jquery.js"></script>
        <script type="text/javascript" src="{$_G['URL']['WORKER_CSS']}js/remhongbao.js"></script>

    </head>
<style type="text/css">
    .box{
      /*width: 100px;
      height: 100px;
      background-color: #ff0000;
      border-radius: 10px;
      margin: 100px;
      box-shadow: 5px 5px 10px #888888;*/
      overflow: hidden;
     }
</style>
        <link rel="stylesheet" type="text/css" href="{$_G['URL']['WORKER_CSS']}css/ipad.css">
        <style type="text/css">
            *{
                margin: 0;
            }
            .go_back {
                position: absolute;
                top: 0.3rem;
                left: 0.3rem;
                height: 0.4rem;
                line-height: 0.4rem;
            }
        </style>
    <body>
        <div class="hongbao_bg">

        <div class="hongbao">
            <header>
                <div class="go_back">
                    <a href="javascript:history.go(-1)">
                        <img src="{$_G['URL']['WORKER_CSS']}images/order_03.png">
                    </a>
                </div>
                <h3>
                    <a href="javascript:history.go(-1)"><span style="color: #ffffff">定单详情</span></a>
                </h3> 
            </header>
            <div class="head">
                <img style="border-radius: 0.2rem;" src="{$order['avatar']}">
            </div>
            <div class="s_name">
                {$order['nickname']}
            </div>
            <div class="s_cont">
                <div class="time">{php echo date("Y-m-d H:i:s", $order['addtime']);}</div>
                <div class="money">
                    <span>¥</span>
                    <b>{php echo floor($order['realfee']);}<font>.{php echo $xiaoshu < 10 ?'0'.$xiaoshu:$xiaoshu;}</font></b>
                </div>
                <p>交易单号:{php echo mb_substr($order['transaction_id'],0,16,'utf-8');}******{php echo mb_substr($order['transaction_id'],22,6,'utf-8');}</p>
                <p>商户单号:{php echo mb_substr($order['uniontid'],0,16,'utf-8');}******{php echo mb_substr($order['uniontid'],22,6,'utf-8');}</p>
                <div class="d_ewm">
                    <img src="{$_G['URL']['QRURLNEW']}{php echo urlencode($workerurl);}">
                </div>
                <div class="left_img">
                    <img src="{$_G['URL']['WORKER_CSS']}images/hb1_07.png">
                </div>
                <div class="right_img">
                    <img src="{$_G['URL']['WORKER_CSS']}images/hb1_10.png">
                </div>
            </div>
            <div class="d_footer">
                    {include file='yxworker/w_foot_yixuan'}
            </div>
        </div>
        </div>
        
        <div class="dd_bg">
            <div class="detial_bg">
                <header class="detial_header">
                    <div class="go_back">
                        <a href="javascript:history.go(-1)">
                            <img src="{$_G['URL']['WORKER_CSS']}images/order_03.png">
                        </a>
                    </div>
                    <a href="javascript:history.go(-1)"><span style="color: #ffffff">定单详情</span></a>
                </header>

                <div class="d_head box">
                    <img style="border-radius: 0.2rem;" src="{$order['avatar']}">
                </div>
                <h3>{$order['nickname']}</h3>
                <div class="d_time">{php echo date("Y-m-d H:i:s", $order['addtime']);}</div>
                <div class="money">
                    <span>¥</span>
                    <b>{php echo floor($order['realfee']);}<font>.{php echo $xiaoshu < 10 ?'0'.$xiaoshu:$xiaoshu;}</font></b>
                </div>
                <p>交易单号:{php echo mb_substr($order['transaction_id'],0,16,'utf-8');}******{php echo mb_substr($order['transaction_id'],22,6,'utf-8');}</p>
                <p>商户单号:{php echo mb_substr($order['uniontid'],0,16,'utf-8');}******{php echo mb_substr($order['uniontid'],22,6,'utf-8');}</p>
                {if $config['isexampleqr']==1}
                <div class="d_ewm">
                    <img src="{$_G['URL']['QRURLNEW']}{php echo urlencode($workerurl);}">
                </div>
                {/if}

                <div class="d_footer">
                    {include file='yxworker/w_foot_yixuan'}
                </div>
            </div>
        </div>
        
    </body>
</html>

<script type="text/javascript">
    $(document).ready(function(){
        var width=window.screen.width;
        if(width>750){
            $('.dd_bg').hide()
            $('.hongbao_bg').show()
        }else{
            $('.dd_bg').show()
            $('.hongbao_bg').hide()
        }
    })
</script>
